{% extends "User_panel/base_user_panel.html" %}
{% block panel-content %}
      <div id="center">
        <form method="post" action=".">{% csrf_token %}
          <table>
            <tr>
              <td>
                <label for="id_email">Username:&nbsp;</label>
              </td>
              <td>
                {{form.email}}
              </td>
            </tr>
            <tr>
              <td>
                <label for="id_firstName">First Name:&nbsp;</label>
              </td>
              <td>
                {{form.firstName}}
              </td>
            </tr>
            <tr>
              <td>
                <label for="id_lastName">Last Name:&nbsp;</label>
              </td>
              <td>
                {{form.lastName}}
              </td>
            </tr>
            <tr>
              <td>
                <label>Last Login:&nbsp;</label>
              </td>
              <td>
                <span class="joined_login_date">{{user.last_login}}</span>
              </td>
            </tr>
            <tr>
              <td>
                <label>Joined Date:&nbsp;</label>
              </td>
              <td>
                <span class="joined_login_date">{{user.date_joined}}</span>
              </td>
            </tr>
            <tr>
              <td colspan=2>
                {{form.errors}}
              </td>
            </tr>
          </table>
          <input type="submit" value="Save" id="personal-info-button" />
        </form>
      </div>
{% endblock %}